package com.bwie.service;

import com.bwie.service.impl.IUserServiceImpl;
import com.bwie.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @description :
 * @Author QiHainan
 * @Create 2025/7/2 15:28
 * @Version 1.0
 */
@Service
@FeignClient(value = "server-shop-user",fallback = IUserServiceImpl.class)
public interface IUserService {
    @PostMapping("/user/index/getUserInfoById/{userId}")
    public R getUserInfoById(@PathVariable("userId") Integer userId);
}
